import React from "react";
import App from "./App";
import { BrowserRouter as Router } from "react-router-dom";
import { createRoot } from "react-dom/client";
import store from "./store";
import { Provider } from "react-redux";
const container = document.getElementById("root");
const root = createRoot(container);
store.dispatch({type:"login"})
root.render(
  <Provider store={store}>
      <Router>
    <App />
  </Router>,
  </Provider>
);
